package com.ruoyi.system.domain;

import java.time.LocalDateTime;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 新品上线配置对象 newarrival
 * 
 * @author zhang
 * @date 2025-07-24
 */
public class Newarrival extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 新上线商品编号 */
    private Long newarrivalId;

    /** 新上线商品名 */
    @Excel(name = "新上线商品名")
    private String newarrivalProductName;

    /** 新上线商品跳转连接 */
    @Excel(name = "新上线商品跳转连接")
    private String newarrivalProductHref;

    /** 排序值 */
    @Excel(name = "排序值")
    private Long newarrivalSort;

    /** 商品编号 */
    @Excel(name = "商品编号")
    private Long newarrivalProductId;

    /** 添加时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:s")
    @Excel(name = "添加时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:s")
    private LocalDateTime newarrivalAddtime;

    public void setNewarrivalId(Long newarrivalId) 
    {
        this.newarrivalId = newarrivalId;
    }

    public Long getNewarrivalId() 
    {
        return newarrivalId;
    }

    public void setNewarrivalProductName(String newarrivalProductName) 
    {
        this.newarrivalProductName = newarrivalProductName;
    }

    public String getNewarrivalProductName() 
    {
        return newarrivalProductName;
    }

    public void setNewarrivalProductHref(String newarrivalProductHref) 
    {
        this.newarrivalProductHref = newarrivalProductHref;
    }

    public String getNewarrivalProductHref() 
    {
        return newarrivalProductHref;
    }

    public void setNewarrivalSort(Long newarrivalSort) 
    {
        this.newarrivalSort = newarrivalSort;
    }

    public Long getNewarrivalSort() 
    {
        return newarrivalSort;
    }

    public void setNewarrivalProductId(Long newarrivalProductId) 
    {
        this.newarrivalProductId = newarrivalProductId;
    }

    public Long getNewarrivalProductId() 
    {
        return newarrivalProductId;
    }

    public void setNewarrivalAddtime(LocalDateTime newarrivalAddtime)
    {
        this.newarrivalAddtime = newarrivalAddtime;
    }

    public LocalDateTime getNewarrivalAddtime()
    {
        return newarrivalAddtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("newarrivalId", getNewarrivalId())
            .append("newarrivalProductName", getNewarrivalProductName())
            .append("newarrivalProductHref", getNewarrivalProductHref())
            .append("newarrivalSort", getNewarrivalSort())
            .append("newarrivalProductId", getNewarrivalProductId())
            .append("newarrivalAddtime", getNewarrivalAddtime())
            .toString();
    }
}
